#!/bin/bash

#grub.cfg need to change from uuid to label, since uuid is changed by create new partition
sed -i '/search/c\search --label BOOT --set=root' $BUILDROOT/efi/EFI/$DISTRIBUTION/grub.cfg

sed -i '/search/c\search --label BOOT --set=root' $BUILDROOT/boot/grub/grub.cfg
